package com.group.three.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author xueyong
 * @since 2022-11-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Comment {
    private String personName;
    private String videoName;
    private String personImage;
    private static final long serialVersionUID = 1L;
        /**
        * 编号
        */

        @JsonFormat(shape = JsonFormat.Shape.STRING)
        @JsonSerialize(using = ToStringSerializer.class)
    private Long commentId;

        /**
        * 评论内容
        */

    private String commentContent; //对应上就行了，这个评论内容应该有了

        /**
        * 所属电影-关联video表
        */

    private Long movieId;

        /**
        * 所属用户
        */

    private Long personId;

        /**
        * 添加时间
        */

    private String addtime;

    
}
